<template>
	<view class="main">
		<tou_hand1 handtitle='运营商流量卡'></tou_hand1>
		<view class="tap">
			<view class="tapone" @click="gosimcard">
				临期sim卡列表
			</view>
			<view class="tapone" @click="gosimuser">
				sim账号绑定用户列表
			</view>
		</view>
	</view>
</template>

<script>
	import tou_hand1 from '../../components/tou_hand1/tou_hand1.vue'
	export default {
		components: {tou_hand1},
		mounted() {
			document.querySelector('body').setAttribute('style', 'background-color:#fff')
		},

		data() {
			return {
				
			}
		},
		onLoad(option) {
			
		},
		methods: {
			gosimcard(){
				// uni.navigateTo({
				// 	url: '../simlist/simlist'
				// })
				let managerUserId=uni.getStorageSync('userId')
				let userToken = uni.getStorageSync('userToken')
				window.location.href = 'http://weixiu.abcabc2.top/sim/wx/wxlogin'+'?managerUserId='+managerUserId+'&token='+userToken
			},
			gosimuser(){
				uni.navigateTo({
					url: '../sim_adduserlist/sim_adduserlist'
				})
			}
			
		}
	}
</script>

<style lang="scss" scoped>
	.main {
		width: 100%;
		overflow-x: hidden;
		.tap{
			width: 100%;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 20upx 32upx;
			box-sizing: border-box;
			.tapone{
				width: 320upx;
				padding: 50upx 0;
				font-size: 30upx;
				font-family: PingFang SC Bold, PingFang SC Bold-Bold;
				font-weight: 700;
				text-align: center;
				background-color: #4B98ED;
				border-radius: 10upx;
				color: #FFFFFF;
			}
		}
	}
</style>
